import request from '@/utils/request.js'

export default {
    listForShop: () => request.get(`/aries/api/wallet/listForShop`, {params: {byLan: false}}),
    typeList: () => request.get(`/aries/api/wallet/typeList`,{params: {byLan: false}}),
    logList:  (params: any) => request.get(`/aries/api/wallet/logList`, {
        params
    }),
    logStatistics:  (params: any) => request.get(`/aries/api/wallet/logStatistics`, {
        params
    }),
    logListExport:  (params: any): Promise<Blob> => request.get(`/aries/api/wallet/logListExport`, {
        responseType: "blob",
        timeout: 30000,
        params
    }),
}
